﻿using System.Data.Entity;
using CommerceOne.Models.Entities;

namespace CommerceOne.Domains
{
    public class EfDbContext : DbContext
    {
        public DbSet<Address> Addresses { get; set; }
        public DbSet<Brand> Brands { get; set; }
        public DbSet<Comment> Comments { get; set; }
        public DbSet<Contact> Contacts { get; set; }
        public DbSet<City> Cities { get; set; }
        //public DbSet<ContactCreditCard> ContactCreditCards { get; set; }
        public DbSet<CountryRegion> CountryRegions { get; set; }
        public DbSet<ShippingCost> ShippingCost { get; set; }
        //public DbSet<CountryRegionCurrency> CountryRegionCurrencies { get; set; }
        public DbSet<CreditCard> CreditCards { get; set; }
        //public DbSet<Currency> Currencies { get; set; }
        //public DbSet<CurrencyRate> CurrencyRates { get; set; }
        public DbSet<ListPriceHistory> ListPriceHistories { get; set; }
        public DbSet<Product> Products { get; set; }
        public DbSet<ProductCategory> ProductCategories { get; set; }
        public DbSet<ProductDocument> ProductDocuments { get; set; }
        public DbSet<ProductPhoto> ProductPhotoes { get; set; }
        public DbSet<ProductPropertyValue> ProductPropertyValues { get; set; }
        public DbSet<ProductSubcategory> ProductSubcategories { get; set; }
        public DbSet<Property> Properties { get; set; }
        public DbSet<PropertyEnum> PropertyEnums { get; set; }
        public DbSet<Rating> Rating { get; set; }
        public DbSet<RecoverQuestion> RecoverQuestions { get; set; }
        public DbSet<SalesTaxRate> SalesTaxRates { get; set; }
        public DbSet<ShoppingCart> ShoppingCarts { get; set; }
        public DbSet<ShoppingCartDetail> ShoppingCartDetails { get; set; }
        public DbSet<SpecialOrder> SpecialOrders { get; set; }
        public DbSet<SubCategoryProperty> SubCategoryProperties { get; set; }
        public DbSet<Role> Roles { get; set; }
    }
}
